package com.yikome.purchase.entity;

import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.yikome.common.BaseEntity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor
@Entity
@Table(name = "p_pending_purchase_product" , indexes = {@Index(columnList="pendingPurchaseCode") , @Index(columnList="productId") , @Index(columnList="productSkuBarcode")})
public class PendingPurchaseProduct extends BaseEntity {

	private static final long serialVersionUID = 2443299385242770971L;

	private String pendingPurchaseCode ; 
	
	private Long productId;
	
	private String productTitle;
	
	private Long productSkuId ; 
    
    private String productSkuBarcode;
    
    private String productSkuName;
    
    private String productSkuImage ;
    
	private String sourceUrl ; 
	
	private Long supplierId ; 
	
	private String supplierName ; 
	
	private String sourceNumber ; //货号
	
	private String sourceId ; 
	
	private BigDecimal referencePurchasePrice ; 
	
	private Integer quantity;
}
